﻿namespace Mp3Observer.Model
{
    using System;

    /// <summary>
    /// eventargs with a filename; used with filesearch, import.
    /// </summary>
    public class FileEventArgs : EventArgs
    {
        /// <summary>
        /// the filename
        /// </summary>
        private string filename;

        /// <summary>
        /// Initializes a new instance of the <see cref="FileEventArgs"/> class.
        /// </summary>
        /// <param name="filename">The filename.</param>
        public FileEventArgs(string filename)
        {
            this.filename = filename;
        }

        /// <summary>
        /// Gets or sets the filename.
        /// </summary>
        /// <value>The filename.</value>
        public string Filename
        {
            get { return this.filename; }
            set { this.filename = value; }
        }
    }
}
